package com.jeesite.modules.stock.dao;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.jeesite.modules.stock.dao.mapper.StockFinaceMapper;
import com.jeesite.modules.stock.entity.StockFinaceEntity;

@Repository
public class StockFinaceDao {
	
	@Autowired
	private StockFinaceMapper stockFinaceMapper;
	
	public List<StockFinaceEntity> queryNetProfitList(String stockCode) {
		return stockFinaceMapper.queryNetProfitList(stockCode);
	}
	
	public List<StockFinaceEntity> queryRevenueList(String stockCode) {
		return stockFinaceMapper.queryRevenueList(stockCode);
	}
	
	public Map<String, Object> getStockLatestData(String stockCode) {
		return stockFinaceMapper.getStockLatestData(stockCode);
	}

}
